﻿using System;

namespace InputTesting
{
    class Program
    {
        static void Main(string[] args)
        {
            //string s = Console.ReadLine();
            //int a = int.Parse(s);

            //a = Convert.ToInt32(s);

            //double x = double.Parse(Console.ReadLine());

            double x = FromConsole.GetDouble("x = ");
            double y = FromConsole.GetDouble("y = ");

            Console.WriteLine("x + y = " + (x + y));

            int a = FromConsole.GetInt("a = ");
            int b = FromConsole.GetInt("b = ");

            Console.WriteLine("a * b = " + a * b);

            Console.ReadKey();
        }
    }
}
